package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 请假单明细业务对象 bus_qingjia_list
 *
 * @author yegs
 * @date 2022-11-30
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BusQingjiaListBo extends BaseEntity {

    /**
     * 自增ID
     */
    @NotNull(message = "自增ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 单号
     */
    @NotBlank(message = "单号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String billno;

    /**
     * 行号
     */
    @NotNull(message = "行号不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long lineno;

    /**
     * 用户ID
     */
    @NotBlank(message = "用户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String userid;

    /**
     * 用户名称
     */
    @NotBlank(message = "用户名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String username;

    /**
     * 用户编码
     */
    @NotBlank(message = "用户编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String usercode;

    /**
     * 用户工号
     */
    @NotBlank(message = "用户工号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String gonghao;

    /**
     * 部门编码
     */
    @NotBlank(message = "部门编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deptid;

    /**
     * 部门名称
     */
    @NotBlank(message = "部门名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deptname;

    /**
     * 班组
     */
    @NotBlank(message = "班组不能为空", groups = { AddGroup.class, EditGroup.class })
    private String banzu;

    /**
     * 开始时间
     */
    @NotNull(message = "开始时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date sdate;

    /**
     * 结束时间
     */
    @NotBlank(message = "结束时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String edate;

    /**
     * 请假时间
     */
    @NotBlank(message = "请假时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String cdate;

    /**
     * 制单时间
     */
    @NotNull(message = "制单时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date voudate;

    /**
     * 制单人
     */
    @NotBlank(message = "制单人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String marker;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ext01;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ext02;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ext03;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ext04;

    /**
     * 
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ext05;


}
